package com.scm.persist.mybatis;

import com.scm.persist.model.ScmPurchaseQuotationDetail;
import com.scm.persist.model.ScmPurchaseQuotationDetailExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmPurchaseQuotationDetailMapper {
    int countByExample(ScmPurchaseQuotationDetailExample example);

    int deleteByExample(ScmPurchaseQuotationDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmPurchaseQuotationDetail record);

    int insertSelective(ScmPurchaseQuotationDetail record);

    List<ScmPurchaseQuotationDetail> selectByExampleWithRowbounds(ScmPurchaseQuotationDetailExample example, RowBounds rowBounds);

    List<ScmPurchaseQuotationDetail> selectByExample(ScmPurchaseQuotationDetailExample example);

    ScmPurchaseQuotationDetail selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmPurchaseQuotationDetail record, @Param("example") ScmPurchaseQuotationDetailExample example);

    int updateByExample(@Param("record") ScmPurchaseQuotationDetail record, @Param("example") ScmPurchaseQuotationDetailExample example);

    int updateByPrimaryKeySelective(ScmPurchaseQuotationDetail record);

    int updateByPrimaryKey(ScmPurchaseQuotationDetail record);
}
